package ais.dcproject.service;

import ais.dcproject.model.ApplyInfo;

public interface ApplyService {
	/**
	 * 添加新的ApplyInfo
	 * @param applyInfo
	 * @return
	 */
	void addNewApplyInfo(ApplyInfo applyInfo);
	
	/**
	 * 更新已有的applyInfo
	 * @param applyInfo
	 * @return
	 */
	void updateApplyInfo(ApplyInfo applyInfo);
	
	/**
	 * 根据学号和身份证号获得一个ApplyInfo对象
	 * @param stuNum
	 * @param idCard
	 * @return
	 */
	ApplyInfo getApplyInfo(String stuNum, String idCard);
}
